﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_DevMan_Details.aspx.cs" Inherits="Admin_DevMan_Details" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="./css/font.css" />
    <link rel="stylesheet" href="./css/xadmin.css" />
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <script type="text/javascript" src="./js/cookie.js"></script>
    <style type="text/css">
        .auto-style1 {
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin-left: 20px; margin-top: 20px;">
            <div class="auto-style1">
                <asp:Image ID="Image1" runat="server" Height="250px" />
            </div>
            <table class="layui-table" style="width: 70%; text-align: center; margin-left: 15%">
                <tr>
                    <th style="background-color: #EEE">设备编号</th>
                    <td>
                        <asp:Label ID="Label111" runat="server" Text="Label"></asp:Label></td>
                    <th style="background-color: #EEE">设备名称</th>
                    <td>
                        <asp:Label ID="Label112" runat="server" Text="Label"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">所属单位</th>
                    <td>
                        <asp:Label ID="Label113" runat="server" Text="Label"></asp:Label></td>
                    <th style="background-color: #EEE">放置位置</th>
                    <td>
                        <asp:Label ID="Label114" runat="server" Text="Label"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">责任人</th>
                    <td>
                        <asp:Label ID="Label115" runat="server" Text="Label"></asp:Label></td>
                    <th style="background-color: #EEE">设备状态</th>
                    <td>
                        <asp:Label ID="Label116" runat="server" Text="Label"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">设备类别</th>
                    <td>
                        <asp:Label ID="Label211" runat="server" Text="Label"></asp:Label></td>
                    <th style="background-color: #EEE">购买日期</th>

                    <td>
                        <asp:Label ID="Label212" runat="server" Text="Label"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">是否需要预约</th>
                    <td>
                        <asp:Label ID="Label213" runat="server" Text="Label"></asp:Label></td>
                    <th style="background-color: #EEE">生产厂家</th>
                    <td>
                        <asp:Label ID="Label214" runat="server" Text="Label"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">操作手册</th>
                    <td><%--<asp:Label ID="Label215" runat="server" Text="Label"></asp:Label>--%><asp:HyperLink ID="HyperLink1" runat="server">点击查看</asp:HyperLink></td>
                    <th style="background-color: #EEE">设备价值</th>
                    <td>
                        <asp:Label ID="Label216" runat="server" Text="Label"></asp:Label></td>
                </tr>
            </table>        
             <button class="layui-btn layui-btn-radius layui-btn-warm" style="width:20%;margin-left:40%" onclick="x_admin_show('修改设备信息','Admin_DevMan_Revise.aspx');return false;">修改该设备信息</button>
           <%-- <asp:Button class="layui-btn layui-btn-radius layui-btn-warm" style="width:20%;margin-left:40%" ID="Button1" runat="server" Text="修改该设备信息" OnClick="Button1_Click" />--%>
            <table class="layui-table" style="width: 70%; text-align: center; margin-left: 15%">
                <tr><td colspan="8"  style="background-color: #EEE;font-size:large;">该设备的预约表</td></tr>
                <tr>
                    <th style="background-color: #EEE"></th>
                    <th style="background-color: #EEE">星期一</th>
                    <th style="background-color: #EEE">星期二</th>
                    <th style="background-color: #EEE">星期三</th>
                    <th style="background-color: #EEE">星期四</th>
                    <th style="background-color: #EEE">星期五</th>
                    <th style="background-color: #EEE">星期六</th>
                    <th style="background-color: #EEE">星期日</th>
                </tr>
                <tr>
                    <th style="background-color: #EEE">08:00-10:00</th>
                    <td>
                        <asp:Label ID="Label11" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label21" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label31" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label41" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label51" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label61" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label71" runat="server" Text="空闲"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">10:00-12:00</th>
                    <td>
                        <asp:Label ID="Label12" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label22" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label32" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label42" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label52" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label62" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label72" runat="server" Text="空闲"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">14:00-16:00</th>
                    <td>
                        <asp:Label ID="Label13" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label23" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label33" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label43" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label53" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label63" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label73" runat="server" Text="空闲"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">16:00-18:00</th>
                    <td>
                        <asp:Label ID="Label14" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label24" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label34" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label44" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label54" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label64" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label74" runat="server" Text="空闲"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">19:00-21:00</th>
                    <td>
                        <asp:Label ID="Label15" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label25" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label35" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label45" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label55" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label65" runat="server" Text="空闲"></asp:Label></td>
                    <td>
                        <asp:Label ID="Label75" runat="server" Text="空闲"></asp:Label></td>
                </tr>
            </table>

            <asp:Label ID="MsgKey" runat="server" Text=""></asp:Label>                 

            <table class="layui-table" style="width: 70%; text-align: center; margin-left: 15%">
                <tr>
                    <th style="background-color: #EEE">厂家链接</th>
                    <td><%--<asp:Label ID="Label311" runat="server" Text="Label"></asp:Label>--%><asp:HyperLink ID="HyperLink2" runat="server" Target="_blank"></asp:HyperLink></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">设备功能</th>
                    <td>
                        <asp:Label ID="Label312" runat="server" Text="Label"></asp:Label></td>
                </tr>
                <tr>
                    <th style="background-color: #EEE">备注</th>
                    <td>
                        <asp:Label ID="Label313" runat="server" Text="Label"></asp:Label></td>
                </tr>
            </table>
            <div class="auto-style1">
                <asp:Image ID="Image2" runat="server" Height="250px" />
            </div>
           <%--  <button class="layui-btn" onclick="x_admin_show('设备历史使用情况','DeviceRecord.aspx');return false;"><i class="layui-icon"></i>查看该设备历史使用情况</button>--%>
        </div>
      <%--  <script> 
             layui.use('laydate', function(){
        var laydate = layui.laydate;
        
        //执行一个laydate实例
        laydate.render({
          elem: '#start' //指定元素
        });

        //执行一个laydate实例
        laydate.render({
          elem: '#end' //指定元素
        });
      });

       /*用户-停用*/
      function member_stop(obj,id){
          layer.confirm('确认要停用吗？',function(index){

              if($(obj).attr('title')=='启用'){

                //发异步把用户状态进行更改
                $(obj).attr('title','停用')
                $(obj).find('i').html('&#xe62f;');

                $(obj).parents("tr").find(".td-status").find('span').addClass('layui-btn-disabled').html('已停用');
                layer.msg('已停用!',{icon: 5,time:1000});

              }else{
                $(obj).attr('title','启用')
                $(obj).find('i').html('&#xe601;');

                $(obj).parents("tr").find(".td-status").find('span').removeClass('layui-btn-disabled').html('已启用');
                layer.msg('已启用!',{icon: 5,time:1000});
              }
              
          });
      }

            /*属性-删除*/
            function member_del(obj, id) {
                layer.confirm('确认要删除吗？',function (index) {
                    //发异步删除数据
                    $(obj).parents("tr").remove();
                    layer.msg('已删除!', { icon: 1, time: 10 });
                });
            }


            function delAll(argument) {
                var data = tableCheck.getData();
                layer.confirm('确认要删除吗？' + data, function (index) {
                    //捉到所有被选中的，发异步进行删除
                    layer.msg('删除成功', { icon: 1 });
                    $(".layui-form-checked").not('.header').parents('tr').remove();
                });
            }</script>
        <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>--%>

    </form>

</body>
</html>
